image-type-from-file-name fix for bug#9045
authorGlenn Morris <rgm@gnu.org>
Tue, 23 Oct 2012 00:46:11 +0000 (20:46 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 23 Oct 2012 00:46:11 +0000 (20:46 -0400)
commit765e293d73037228f5e056a2f1b0ab347ab540b0
tree645ef6a3813c08aafb1fd8152c37b252bcb0f5ae
parente06fd3469b55b0b6770f51ba4693bca1d0e46fad
image-type-from-file-name fix for bug#9045

* lisp/image.el (image-type-from-file-name): If multiple types match,
return the first one that is supported.
lisp/ChangeLog
lisp/image.el